import {defineStore} from "pinia";

const useCountStore = defineStore('count', {
    state: () => ({
        sum: 6,
        school: '清华',
        address: '北京'
    }),
    actions: {
        increment(value: number) {
            this.sum += value
        }
    }
})

export default useCountStore